from machine import ADC

# light sensor  A0
adc = ADC(0)
print(adc.read())